package Chpter4;

abstract class Animal6{
	abstract void shout();
}
class Dog6 extends Animal6{
	void shout() {
		System.out.println("Wang");
	}
}
public class Example10 {
	public static void main(String[] args) {
		Dog6 dog=new Dog6();
		dog.shout();
	}

}
